package com.cos.service;

import com.cos.vo.Goods;
import com.cos.vo.SearchGoodsParam;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface GoodsService {

    void addGoods(Goods goodsEntity) throws IOException;

    List<Goods> search(SearchGoodsParam searchGoodsParam) throws IOException, InvocationTargetException, IllegalAccessException;
}
